package com.nclg.exam.entity;

import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
public class TQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long qId;

    private String qTitle;

    private String qAnswer1;

    private String qAnswer2;

    private String qAnswer3;

    private String qAnswer4;

    private String qResult;

    private String qType;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date qCreatetime;

    private BigDecimal qScore;

    private String qStatus;

    private String qAnalyze;

    private Long uId;


}
